home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 22
/
Amiga Format AFCD22 (Jan 1998, Issue 106).iso
/
-in_the_mag-
/
converters
/
graphics
/
netpbm
/
hpcdtoppm.0.6
/
src
/
makefile
< prev
next >
Wrap
Makefile
|
1997-11-16
|
554b
|
23 lines
#
#
# Use the hpcdtoppm procedures for writing ppm and pgm
VFLAGS= -DOWN_WRITE
VLIBS= -ljpeg
# Use the pbmplus procedures for writing ppm and pgm
# VFLAGS=
# VLIBS= -L/home/X11R6/lib -Ljpeg.v4 -lpbm -lpgm -lppm -ljpeg
#
#
CC= gcc
CFLAGS= -O4 -ansi -Wall ${VFLAGS} -m68020 -msoft-float -I/hd/jpegAGA/jpeg
INCL= hpcdtoppm.h config.h
OBJ= main.o output.o color.o format.o tools.o error.o \
ppm.o postscr.o jpeg.o const.o
COMPILE=${CC} ${CFLAGS} -c
#
hpcdtoppm: ${OBJ}
${CC} -o hpcdtoppm ${OBJ} ${VLIBS}
#
${OBJ}: ${$@:.o=.c} ${INCL}
${COMPILE} ${*}.c